@charset "UTF-8";
/* 顶栏 */

.ding {
    background-color: #e3e4e5;
}

.ding-c {
    width: 1200px;
    height: 30px;
    margin: 0 auto;
    font-size: 14px;
}

.icon-dingwei {
    font-size: 18px;
    color: red;
    line-height: 30px;
}

.ding-left2 {
    color: #80878d;
    padding-top: 5px;
}

.ding-right {
    color: #80878d;
    line-height: 30px;
    padding: 0 10px;
}

.ding-right a {
    color: #80878d;
}

.ding-right a:nth-child(2) {
    color: red;
    padding: 0 3px;
}

.ding-right span {
    padding: 0 10px;
}

/* 头部 */

.header {
    background-color: #fffdfd;
}

.header-c {
    width: 1200px;
    height: 140px;
    margin: 0 auto;
}

.header-logo {
    line-height: 140px;
}

.header-logo img {
    width: 100px;
    height: 100px;
    padding: 0 50px;
}

.header-s {
    width: 560px;
    padding: 30px 0 0 60px;
}

.header-search {
    width: 550px;
    height: 34px;
    border: 2px solid red;
}

.header-search input {
    width: 386px;
    height: 26px;
    padding: 2px 44px 2px 17px;
    border: 1px solid transparent;
    /* 取消输入时蓝色边框 */
    outline: none;
    color: #80878d;
}

.header-search div {
    width: 62px;
    height: 100%;
    background-color: red;
    text-align: center;
    line-height: 34px;
}

.header-search>span {
    padding-right: 15px;
}

.icon-sousuo {
    font-size: 16px;
    color: #fff;
}

.icon-camera {
    font-size: 24px;
    line-height: 34px;
}

.header-btn a {
    font-size: 12px;
    padding: 3px;
    color: #80878d;
}

.header-btn a:first-child {
    color: red;
}

.header-erweima {
    padding: 18px 7px 0 64px;
}

.header-erweima img {
    width: 80px;
    height: 80px;
}

.header-right {
    border: 1px solid #cecfcf;
    width: 130px;
    height: 34px;
    padding: 5px 10px;
    margin-top: 28px;
    line-height: 34px;
    text-align: center;
    color: red;
}

.header-right:hover {
    border: 2px solid #c91723;
}

.icon-gouwuche {
    font-size: 20px;
    padding-right: 5px;
}

.header-right a{
    font-size: 14px;
    color: #f00;
}

/* 路径导航 */

.daohang {
    background-color: #f2f2f2;
}

.daohang-c {
    width: 1200px;
    height: 40px;
    margin: 0 auto;
    line-height: 40px;
}

.daohang-c a {
    color: #80878d;
    font-size: 14px;
}

.daohang-c a:first-child {
    padding-left: 10px;
}

.daohang-c span {
    padding: 0 5px;
}

/* 放大镜和详情 */

.xq {
    background-color: #fff;
}

.xq-c {
    width: 1200px;
    height: 800px;
    margin: 0 auto;
}

/* 放大镜 放大镜 放大镜 放大镜 放大镜 放大镜 放大镜 */

.box {
    width: 400px;
    height: 400px;
    background-color: #f00;
    position: relative;
}

.box>img {
    width: 400px;
    height: 400px;
}

.mask {
    width: 100px;
    height: 100px;
    background-color: rgba(255, 255, 0, .7);
    position: absolute;
    left: 0;
    display: none;
    top: 0;
}

.mask:hover {
    cursor: move;
}

.box .big {
    width: 400px;
    height: 400px;
    position: absolute;
    left: 105%;
    top: 0;
    overflow: hidden;
    display: none;
    z-index: 1;
}

/*
遮罩/左边盒子 = 右边盒子/大图
*/

.box .big>img {
    width: 1600px;
    height: 1600px;
    position: absolute;
    left: 0;
    top: 0;
}

.small {
    margin: 20px 0 0 0;
}
.small:hover{
    cursor: pointer;
}

.small img {
    width: 50px;
    height: 50px;
    margin: 10px;
    border: 3px solid #f00;
}

.small img.active {
    border-color: #0f0;
}




/* 商品详情 */
.goodsinfo {
    width: 600px;
    line-height: 30px;
    margin: 50px 50px 0 150px;
}

.goodsname{
    margin-bottom: 20px;
}
.goodsname span{
    font-size: 34px;
}

.goodsintroduce{
    color: #8c8f8f;
}
.goodsintroduce span{
    color: #8c8f8f;
}

.goodsprice{
    height: 80px;
    line-height: 80px;
    padding: 20px 20px 20px 0;
    border-bottom: 1px solid #a6abaf;
}
.goodsprice span{
    color: #c91723;
    font-size: 40px;
}

.goodssupport{
    height: 30px;
    margin-top: 20px;
}
.goodssupport span{
    font-size: 20px;
    color: #111111;
}
.goodsinfo .goodssupport .icon-duigou{
    color: #f00;
    padding-left: 13px;
}


/* 按钮 */
button {
    margin: 20px;
}

.custom-btn {
    width: 130px;
    height: 40px;
    color: #fff;
    border-radius: 5px;
    padding: 10px 25px;
    font-family: "Lato", sans-serif;
    font-weight: 500;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    box-shadow: inset 2px 2px 2px 0px rgba(255, 255, 255, 0.5), 7px 7px 20px 0px rgba(0, 0, 0, 0.1), 4px 4px 5px 0px rgba(0, 0, 0, 0.1);
}

/* 4 */
.btn-4 {
    background-color: #4dccc6;
    background-image: linear-gradient(315deg, #4dccc6 0%, #96e4df 74%);
    line-height: 42px;
    padding: 0;
    border: none;
}

.btn-4:hover {
    background-color: #89d8d3;
    background-image: linear-gradient(315deg, #89d8d3 0%, #03c8a8 74%);
}

.btn-4 span {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.btn-4:before, .btn-4:after {
    position: absolute;
    content: "";
    right: 0;
    top: 0;
    box-shadow: 4px 4px 6px 0 rgba(255, 255, 255, 0.9), -4px -4px 6px 0 rgba(116, 125, 136, 0.2), inset -4px -4px 6px 0 rgba(255, 255, 255, 0.9), inset 4px 4px 6px 0 rgba(116, 125, 136, 0.3);
    transition: all 0.3s ease;
}

.btn-4:before {
    height: 0%;
    width: 0.1px;
}

.btn-4:after {
    width: 0%;
    height: 0.1px;
}

.btn-4:hover:before {
    height: 100%;
}

.btn-4:hover:after {
    width: 100%;
}

.btn-4 span:before, .btn-4 span:after {
    position: absolute;
    content: "";
    left: 0;
    bottom: 0;
    box-shadow: 4px 4px 6px 0 rgba(255, 255, 255, 0.9), -4px -4px 6px 0 rgba(116, 125, 136, 0.2), inset -4px -4px 6px 0 rgba(255, 255, 255, 0.9), inset 4px 4px 6px 0 rgba(116, 125, 136, 0.3);
    transition: all 0.3s ease;
}

.btn-4 span:before {
    width: 0.1px;
    height: 0%;
}

.btn-4 span:after {
    width: 0%;
    height: 0.1px;
}

.btn-4 span:hover:before {
    height: 100%;
}

.btn-4 span:hover:after {
    width: 100%;
}

/* 7 */

.btn-7 {
    background: linear-gradient( 0deg, rgba(255, 151, 0, 1) 0%, rgba(251, 75, 2, 1) 100%);
    line-height: 42px;
    padding: 0;
    border: none;
}

.btn-7 span {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.btn-7:before, .btn-7:after {
    position: absolute;
    content: "";
    right: 0;
    bottom: 0;
    background: rgba(251, 75, 2, 1);
    box-shadow: -7px -7px 20px 0px rgba(255, 255, 255, 0.9), -4px -4px 5px 0px rgba(255, 255, 255, 0.9), 7px 7px 20px 0px rgba(0, 0, 0, 0.2), 4px 4px 5px 0px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.btn-7:before {
    height: 0%;
    width: 2px;
}

.btn-7:after {
    width: 0%;
    height: 2px;
}

.btn-7:hover {
    color: rgba(251, 75, 2, 1);
    background: transparent;
}

.btn-7:hover:before {
    height: 100%;
}

.btn-7:hover:after {
    width: 100%;
}

.btn-7 span:before, .btn-7 span:after {
    position: absolute;
    content: "";
    left: 0;
    top: 0;
    background: rgba(251, 75, 2, 1);
    box-shadow: -7px -7px 20px 0px rgba(255, 255, 255, 0.9), -4px -4px 5px 0px rgba(255, 255, 255, 0.9), 7px 7px 20px 0px rgba(0, 0, 0, 0.2), 4px 4px 5px 0px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.btn-7 span:before {
    width: 2px;
    height: 0%;
}

.btn-7 span:after {
    height: 2px;
    width: 0%;
}

.btn-7 span:hover:before {
    height: 100%;
}

.btn-7 span:hover:after {
    width: 100%;
}